package com.cskaoyan.demo7.service;

import com.cskaoyan.demo7.annotation.Log;
import com.cskaoyan.demo7.bean.Admin;
import com.cskaoyan.demo7.mapper.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AdminServiceImpl implements AdminService{
    @Autowired
    AdminMapper adminMapper;
    @Log
    @Override
    public void addOne(Admin admin) {
        adminMapper.addOne(admin);
    }
}
